package com.perceptivesoftware.licensing.client.common.util;

/**
 * Constants used by the GWT client
 * <p>
 * Copyright 2012 Perceptive Software
 * </p>
 * <p>
 * Project: Perceptive Licensing
 * </p>
 *
 */
public abstract class ClientConstants
{
	public static final String USER_LOGIN_URL = "../login/";

	public static final String LICENSING_URL = "PerceptiveLicensing/";

	public static final String LOGIN_REDIRECT_URL = "../handler/LoginRedirect";

	public static final String LOGOUT_URL = "../j_spring_security_logout";

	// Will be logged off automatically after this number of minutes
	public static final long DEFAULT_LOGOFF_INTERVAL_MINUTES = 25;

	// Will warn them this number of minutes before the automatic logoff
	public static final long DEFAULT_LOGOFF_WARN_TIME_MINUTES = 5;

	public static final int MS_PER_MINUTE = 60000;

	public static final int HEARTBEAT_SECONDS = 45;

	public static int EXTJS_KEY_VALUE_ENTER = 13;
	
	public static final String CHANGETO_ROLEVAL_COOKIE_NAME = "changeToRoleValCode";
	
	public static final String TWISTAGE_BASE_URL = "http://service-staging.twistage.com";
}